<template>
  <a-config-provider :locale="locale">
    <div id="app">
      <!-- <img src="./assets/logo.png"> -->
      <router-view />
    </div>
  </a-config-provider>
</template>

<script>
import DevicePixelRatio from "@assets/js/DevicePixelRatio.js"; //放大缩小适配
import zhCN from "ant-design-vue/es/locale/zh_CN"; // 在node_modules中找到（可切换各种语言）
export default {
  name: "App",
  created() {
    new DevicePixelRatio().init(this); //适配放大缩小
  },
  data() {
    return {
      locale: zhCN,
    };
  },
};
</script>

<style lang="less">
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  /* margin-top: 60px; */
  width: 100%;
  height: 100%;

  .header-item {
    color: #1ff8e6;
  }
}

.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected {
  background-color: #014562 !important;
}

.ant-tree li .ant-tree-node-content-wrapper:hover {
  background-color: #014562 !important;
}
</style>
